<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: QcnSim/QcnSensorTrafficGenerator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d21be12960473ba5c51e5f9beea3525e.html">QcnSim</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">QcnSensorTrafficGenerator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_qcn_sensor_traffic_generator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_traffic_generator_8h.html">TrafficGenerator.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_event_type_8h.html">EventType.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_protocol_data_unit_8h.html">ProtocolDataUnit.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_qcn_sensor_traffic_generator.html">   35</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_qcn_sensor_traffic_generator.html">QcnSensorTrafficGenerator</a>: <span class="keyword">public</span> <a class="code" href="class_traffic_generator.html">TrafficGenerator</a> {</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_qcn_sensor_traffic_generator.html#ae0c102210846bb815bb6596cb0aa7ee6">   37</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#ae0c102210846bb815bb6596cb0aa7ee6">latitude</a>;  </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_qcn_sensor_traffic_generator.html#aaeb48832d02be6da6879b20ccbf27932">   38</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#aaeb48832d02be6da6879b20ccbf27932">longitude</a>; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_qcn_sensor_traffic_generator.html#a94979da414e7b879f6c31642c3b449f6">   39</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a94979da414e7b879f6c31642c3b449f6">qcnExplorerSensorId</a>; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_qcn_sensor_traffic_generator.html#a7475a4d95a64a53e641ed8d7b2fd167b">   40</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a7475a4d95a64a53e641ed8d7b2fd167b">regionId</a>; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="class_qcn_sensor_traffic_generator.html#a3ba249e3aa7b69351987b78c0492c52c">QcnSensorTrafficGenerator</a>(<a class="code" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="code" href="class_traffic_generator.html#a42261ccf207f61a401473a106bc0bae3">simulatorGlobals</a>, <a class="code" href="class_scheduler.html">Scheduler</a> &amp;<a class="code" href="class_traffic_generator.html#a9569cd494b926b84f384c7380349d51a">scheduler</a>, <a class="code" href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a> <a class="code" href="class_traffic_generator.html#a84eef27cdbfa66bbf8c14e0128196a62">eventType</a>, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;                                 std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#a4f69b85034831c2c40e789b0c0e11511">source</a>, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#a6ba09ea9c5df93de64af75886df0b11b">destination</a>, <span class="keywordtype">int</span> <a class="code" href="class_traffic_generator.html#a2158c9e714171e5a04032571021b23c4">priority</a>, <span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#ae0c102210846bb815bb6596cb0aa7ee6">latitude</a>, <span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#aaeb48832d02be6da6879b20ccbf27932">longitude</a>,</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                                 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a94979da414e7b879f6c31642c3b449f6">qcnExplorerSensorId</a> = 0, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a7475a4d95a64a53e641ed8d7b2fd167b">regionId</a> = 0);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#ac121c09b6ea7003bb3dfcd2a5d9aafe3">createInstanceTrafficEvent</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#ac121c09b6ea7003bb3dfcd2a5d9aafe3">createInstanceTrafficEvent</a>(std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#ac121c09b6ea7003bb3dfcd2a5d9aafe3">createInstanceTrafficEvent</a>(std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#ac121c09b6ea7003bb3dfcd2a5d9aafe3">createInstanceTrafficEvent</a>(std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>, std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#a0217b5b3bcb3bc4aef5a4ac9adebdf51">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize);</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#a0217b5b3bcb3bc4aef5a4ac9adebdf51">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#a0217b5b3bcb3bc4aef5a4ac9adebdf51">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_qcn_sensor_traffic_generator.html#a0217b5b3bcb3bc4aef5a4ac9adebdf51">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>, std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a339f12bf7824af352d0dad4d65c3e353">getLatitude</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#ac35f6f0c94d934b454ad68f743bfb011">getLongitude</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a5a03f7bfeab8aa2ba0178af6a67b69af">getQcnExplorerSensorId</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a217fb0b0d8896f86c7b032f902fdb7f6">getRegionId</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a9b5d0138e8eb2b3758d46f4c747f093a">setLatitude</a>(<span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#ae0c102210846bb815bb6596cb0aa7ee6">latitude</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a838619c582b3df71b009b6cd1de56092">setLongitude</a>(<span class="keywordtype">double</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#aaeb48832d02be6da6879b20ccbf27932">longitude</a>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a375d3eaf1ce7792d46f13bd96900c914">setQcnExplorerSensorId</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a94979da414e7b879f6c31642c3b449f6">qcnExplorerSensorId</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a7c5683f657aa8c44344985acceae2cd1">setRegionId</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_qcn_sensor_traffic_generator.html#a7475a4d95a64a53e641ed8d7b2fd167b">regionId</a>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;};</div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a5a03f7bfeab8aa2ba0178af6a67b69af"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a5a03f7bfeab8aa2ba0178af6a67b69af">QcnSensorTrafficGenerator::getQcnExplorerSensorId</a></div><div class="ttdeci">unsigned int getQcnExplorerSensorId() const </div><div class="ttdoc">Get QCN Explorer Sensor ID. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00154">QcnSensorTrafficGenerator.cpp:154</a></div></div>
<div class="ttc" id="_event_type_8h_html"><div class="ttname"><a href="_event_type_8h.html">EventType.h</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a217fb0b0d8896f86c7b032f902fdb7f6"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a217fb0b0d8896f86c7b032f902fdb7f6">QcnSensorTrafficGenerator::getRegionId</a></div><div class="ttdeci">unsigned int getRegionId() const </div><div class="ttdoc">Get Region ID. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00163">QcnSensorTrafficGenerator.cpp:163</a></div></div>
<div class="ttc" id="_event_type_8h_html_a2628ea8d12e8b2563c32f05dc7fff6fa"><div class="ttname"><a href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a></div><div class="ttdeci">EventType</div><div class="ttdoc">EventType enum class. </div><div class="ttdef"><b>Definition:</b> <a href="_event_type_8h_source.html#l00029">EventType.h:29</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a3ba249e3aa7b69351987b78c0492c52c"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a3ba249e3aa7b69351987b78c0492c52c">QcnSensorTrafficGenerator::QcnSensorTrafficGenerator</a></div><div class="ttdeci">QcnSensorTrafficGenerator(SimulatorGlobals &amp;simulatorGlobals, Scheduler &amp;scheduler, EventType eventType, std::shared_ptr&lt; Entity &gt; tokenContents, std::shared_ptr&lt; Entity &gt; source, std::shared_ptr&lt; Entity &gt; destination, int priority, double latitude, double longitude, unsigned int qcnExplorerSensorId=0, unsigned int regionId=0)</div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00041">QcnSensorTrafficGenerator.cpp:41</a></div></div>
<div class="ttc" id="class_scheduler_html"><div class="ttname"><a href="class_scheduler.html">Scheduler</a></div><div class="ttdoc">Scheduler class. </div><div class="ttdef"><b>Definition:</b> <a href="_scheduler_8h_source.html#l00058">Scheduler.h:58</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a0217b5b3bcb3bc4aef5a4ac9adebdf51"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a0217b5b3bcb3bc4aef5a4ac9adebdf51">QcnSensorTrafficGenerator::createInstanceTrafficEventPdu</a></div><div class="ttdeci">std::shared_ptr&lt; ProtocolDataUnit &gt; createInstanceTrafficEventPdu(unsigned int pduSize)</div><div class="ttdoc">Creates an instance of QCN sensor traffic event with PDU. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00215">QcnSensorTrafficGenerator.cpp:215</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html">QcnSensorTrafficGenerator</a></div><div class="ttdoc">QCN Sensor Traffic Generator. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8h_source.html#l00035">QcnSensorTrafficGenerator.h:35</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a9b5d0138e8eb2b3758d46f4c747f093a"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a9b5d0138e8eb2b3758d46f4c747f093a">QcnSensorTrafficGenerator::setLatitude</a></div><div class="ttdeci">void setLatitude(double latitude)</div><div class="ttdoc">Set Latitude. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00172">QcnSensorTrafficGenerator.cpp:172</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_aaeb48832d02be6da6879b20ccbf27932"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#aaeb48832d02be6da6879b20ccbf27932">QcnSensorTrafficGenerator::longitude</a></div><div class="ttdeci">double longitude</div><div class="ttdoc">Longitude of this sensor. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8h_source.html#l00038">QcnSensorTrafficGenerator.h:38</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_ae0c102210846bb815bb6596cb0aa7ee6"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#ae0c102210846bb815bb6596cb0aa7ee6">QcnSensorTrafficGenerator::latitude</a></div><div class="ttdeci">double latitude</div><div class="ttdoc">Latitude of this sensor. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8h_source.html#l00037">QcnSensorTrafficGenerator.h:37</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a42261ccf207f61a401473a106bc0bae3"><div class="ttname"><a href="class_traffic_generator.html#a42261ccf207f61a401473a106bc0bae3">TrafficGenerator::simulatorGlobals</a></div><div class="ttdeci">SimulatorGlobals &amp; simulatorGlobals</div><div class="ttdoc">Reference to SimulatorGlobals object, to get random generator info. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00044">TrafficGenerator.h:44</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a339f12bf7824af352d0dad4d65c3e353"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a339f12bf7824af352d0dad4d65c3e353">QcnSensorTrafficGenerator::getLatitude</a></div><div class="ttdeci">double getLatitude() const </div><div class="ttdoc">Get Latitude. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00136">QcnSensorTrafficGenerator.cpp:136</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a84eef27cdbfa66bbf8c14e0128196a62"><div class="ttname"><a href="class_traffic_generator.html#a84eef27cdbfa66bbf8c14e0128196a62">TrafficGenerator::eventType</a></div><div class="ttdeci">EventType eventType</div><div class="ttdoc">Event type that this generator will produce. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00045">TrafficGenerator.h:45</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_ac121c09b6ea7003bb3dfcd2a5d9aafe3"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#ac121c09b6ea7003bb3dfcd2a5d9aafe3">QcnSensorTrafficGenerator::createInstanceTrafficEvent</a></div><div class="ttdeci">std::shared_ptr&lt; Token &gt; createInstanceTrafficEvent() override</div><div class="ttdoc">Creates an instance of QCN sensor traffic event. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00058">QcnSensorTrafficGenerator.cpp:58</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a838619c582b3df71b009b6cd1de56092"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a838619c582b3df71b009b6cd1de56092">QcnSensorTrafficGenerator::setLongitude</a></div><div class="ttdeci">void setLongitude(double longitude)</div><div class="ttdoc">Set Longitude. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00181">QcnSensorTrafficGenerator.cpp:181</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_ac35f6f0c94d934b454ad68f743bfb011"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#ac35f6f0c94d934b454ad68f743bfb011">QcnSensorTrafficGenerator::getLongitude</a></div><div class="ttdeci">double getLongitude() const </div><div class="ttdoc">Get Longitude. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00145">QcnSensorTrafficGenerator.cpp:145</a></div></div>
<div class="ttc" id="class_traffic_generator_html_acb5d8009cf49ff99a6fee75ec456e166"><div class="ttname"><a href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">TrafficGenerator::tokenContents</a></div><div class="ttdeci">std::shared_ptr&lt; Entity &gt; tokenContents</div><div class="ttdoc">Reference to Entity object that will be carried by the token. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00046">TrafficGenerator.h:46</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a375d3eaf1ce7792d46f13bd96900c914"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a375d3eaf1ce7792d46f13bd96900c914">QcnSensorTrafficGenerator::setQcnExplorerSensorId</a></div><div class="ttdeci">void setQcnExplorerSensorId(unsigned int qcnExplorerSensorId)</div><div class="ttdoc">Set QCN Explorer Sensor Id. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00190">QcnSensorTrafficGenerator.cpp:190</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a9569cd494b926b84f384c7380349d51a"><div class="ttname"><a href="class_traffic_generator.html#a9569cd494b926b84f384c7380349d51a">TrafficGenerator::scheduler</a></div><div class="ttdeci">Scheduler &amp; scheduler</div><div class="ttdoc">Reference to Scheduler object, such that traffic generators may schedule their events. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00043">TrafficGenerator.h:43</a></div></div>
<div class="ttc" id="class_simulator_globals_html"><div class="ttname"><a href="class_simulator_globals.html">SimulatorGlobals</a></div><div class="ttdoc">Simulator-scope variables and parameters. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00044">SimulatorGlobals.h:44</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a7c5683f657aa8c44344985acceae2cd1"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a7c5683f657aa8c44344985acceae2cd1">QcnSensorTrafficGenerator::setRegionId</a></div><div class="ttdeci">void setRegionId(unsigned int regionId)</div><div class="ttdoc">Set Region ID. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8cpp_source.html#l00199">QcnSensorTrafficGenerator.cpp:199</a></div></div>
<div class="ttc" id="_protocol_data_unit_8h_html"><div class="ttname"><a href="_protocol_data_unit_8h.html">ProtocolDataUnit.h</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a2158c9e714171e5a04032571021b23c4"><div class="ttname"><a href="class_traffic_generator.html#a2158c9e714171e5a04032571021b23c4">TrafficGenerator::priority</a></div><div class="ttdeci">int priority</div><div class="ttdoc">Token priority. Higher priority, higher number. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00049">TrafficGenerator.h:49</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a94979da414e7b879f6c31642c3b449f6"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a94979da414e7b879f6c31642c3b449f6">QcnSensorTrafficGenerator::qcnExplorerSensorId</a></div><div class="ttdeci">unsigned int qcnExplorerSensorId</div><div class="ttdoc">Sensor ID as assigned by QCNExplorer. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8h_source.html#l00039">QcnSensorTrafficGenerator.h:39</a></div></div>
<div class="ttc" id="_traffic_generator_8h_html"><div class="ttname"><a href="_traffic_generator_8h.html">TrafficGenerator.h</a></div></div>
<div class="ttc" id="class_qcn_sensor_traffic_generator_html_a7475a4d95a64a53e641ed8d7b2fd167b"><div class="ttname"><a href="class_qcn_sensor_traffic_generator.html#a7475a4d95a64a53e641ed8d7b2fd167b">QcnSensorTrafficGenerator::regionId</a></div><div class="ttdeci">unsigned int regionId</div><div class="ttdoc">Region ID as assigned by QCNExplorer. </div><div class="ttdef"><b>Definition:</b> <a href="_qcn_sensor_traffic_generator_8h_source.html#l00040">QcnSensorTrafficGenerator.h:40</a></div></div>
<div class="ttc" id="class_traffic_generator_html"><div class="ttname"><a href="class_traffic_generator.html">TrafficGenerator</a></div><div class="ttdoc">TrafficGenerator parent class. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00041">TrafficGenerator.h:41</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a4f69b85034831c2c40e789b0c0e11511"><div class="ttname"><a href="class_traffic_generator.html#a4f69b85034831c2c40e789b0c0e11511">TrafficGenerator::source</a></div><div class="ttdeci">std::shared_ptr&lt; Entity &gt; source</div><div class="ttdoc">Entity to which the generator is attached (to which tokens are generated). </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00047">TrafficGenerator.h:47</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a6ba09ea9c5df93de64af75886df0b11b"><div class="ttname"><a href="class_traffic_generator.html#a6ba09ea9c5df93de64af75886df0b11b">TrafficGenerator::destination</a></div><div class="ttdeci">std::shared_ptr&lt; Entity &gt; destination</div><div class="ttdoc">Destination entity, to which the generated tokens will be sent. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00048">TrafficGenerator.h:48</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Nov 14 2013 11:18:20 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
